package com.yanqu.road.entity.decoration;

import com.yanqu.road.entity.DataObject;

import java.util.Objects;

public class UserMammonCongratulate extends DataObject {
	/**
	 * 玩家编号
	 */
	private long userId;
	/**
	 * 记录
	 */
	private String recordUid;

	private long congratulateTime;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		if (this.userId != userId) {
			this.userId = userId;
			setUpdateOption();
		}
	}

	public String getRecordUid() {
		return recordUid;
	}

	public void setRecordUid(String recordUid) {
		if(!Objects.equals(this.recordUid, recordUid)) {
			this.recordUid = recordUid;
			setUpdateOption();
		}
	}

	public long getCongratulateTime() {
		return congratulateTime;
	}

	public void setCongratulateTime(long congratulateTime) {
		if(this.congratulateTime != congratulateTime) {
			this.congratulateTime = congratulateTime;
			setUpdateOption();
		}
	}
}
